// Write the player into the page (done this way to get around the Eolas bug)
function WritePlayer(fileName, fileWidth, fileHeight) {
	var playerScript = 
		'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + 
		'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ' + 
		'width="' + fileWidth + '" ' + 
		'height="' + fileHeight + '">' + 
		'<param name="movie" VALUE="' + fileName + '"> ' + 
		'<param name="quality" VALUE="high"> ' + 
		'<param name="bgcolor" VALUE="#FFFFFF"> ' + 
		'<embed src="' + fileName + '" quality="high" bgcolor="#FFFFFF" ' + 
		'width="' + fileWidth + '" height="' + fileHeight + '" ' + 
		'type="application/x-shockwave-flash" ' + 
		'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">' + 
		'</embed></object>';
	
	document.write(playerScript);
}